package com.antis.olsl.library.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @ProjectName: ATS_OLSL
 * @Package: com.ats.olsl.bean
 * @ClassName: UserInfo
 * @Description: java类作用描述
 * @Author: 羊琪
 * @CreateDate: 2020/3/19 10:09
 * @UpdateDate: 2020/3/19 10:09
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Entity(generateConstructors = false)
public class UserInfo implements Serializable {
    static final long serialVersionUID = 42L;

    @Id
    private Long sql_id;
    private String phonenumber;
    private String avatar;
    private String deptId;
    private String deptName;
    private String merchantId;
    private String merchantName;
    private String salesroomId;
    private String salesroomName;
    private String warehouseId;
    private String warehouseName;
    private String userId;
    private String userName;
    private String roleId;
    private String roleName;
    private String token;
    private int isAdmin;

    public int getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(int isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserInfo() {
    }

    public Long getSql_id() {
        return sql_id;
    }

    public void setSql_id(Long sql_id) {
        this.sql_id = sql_id;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getSalesroomId() {
        return salesroomId;
    }

    public void setSalesroomId(String salesroomId) {
        this.salesroomId = salesroomId;
    }

    public String getSalesroomName() {
        return salesroomName;
    }

    public void setSalesroomName(String salesroomName) {
        this.salesroomName = salesroomName;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPhonenumber() {
        return this.phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
